<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/Public/foundation/foundation.min.css">
    <script src="/Public/jquery/jquery.min.js"></script>
    <script src="/Public/foundation/foundation.min.js"></script>
    <script src="/Public/foundation/modernizr.js"></script>

    <!--<script src="/Public/jquery/plugin"></script>-->
    <link rel="stylesheet" href="http://static.runoob.com/assets/foundation-icons/foundation-icons.css">
</head>
<body>
<nav class="top-bar" data-topbar>
    <ul class="title-area">
        <li class="name">
            <h1><a href="#">后台管理</a></h1>
        </li>
    </ul>
    <section class="top-bar-section">
        <ul class="right">
                <li><a href=""><?php echo (session('name')); ?></a></li>
                <li><a href="">退出</a></li>
        </ul>

    </section>
</nav>
<div>
    <div class="small-2 columns">
        <?php if(is_array($locks)): $i = 0; $__LIST__ = $locks;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?><ul class="side-nav">
                <li><a href="http://127.0.0.1/index.php/<?php echo ($menu["url"]); ?>" target="<?php echo ($menu['target']==0?'_self':'_blank'); ?>"><?php echo ($menu["mname"]); ?></a></li>
            </ul><?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
    <div class="small-10 columns">
        
    <div style="margin-left:20%" >
    <form action="<?php echo U(doAddTeacher);?>" method="post">
        <fieldset class="medium-4 columns" >
            <legend>基本信息</legend>
            <label>
                姓名<input type="text" name="tname">
            </label>
            <label>
                昵称<input type="text" name="nick">
            </label>
            <label>
                手机<input type="text" name="mtel">
            </label>
            <label>
                邮箱<input type="text" name="email">
            </label>
            <label>
                密码<input type="password" name="pwd">
            </label>
            <input type="submit" class="button tiny " value="提交">
        </fieldset>

    </form>
    </div>

    </div>
</div>
</body>
</html>